#include "VisualRect.h"


VisualRect::VisualRect(Vector2 leftBottom, Vector2 rightTop)
{
	this->LB = leftBottom;
	this->RT = rightTop;
}

VisualRect::~VisualRect()
{
}

double VisualRect::GetWidth()
{
	return RT.GetX() - LB.GetX();
}

double VisualRect::GetHeight()
{
	return RT.GetY() - LB.GetY();
}
